#ifndef __rtc_driver_h__
#define __rtc_driver_h__

#define READ_BCD(bcd) (bcd >> 4) * 10 + (bcd & 0x0F)

#include "gd32f4xx_rtc.h"
#include "gd32f4xx_pmu.h"

void rtc_driver_init(void);
void rtc_driver_test(void);

#endif
